adTempus API
PreviousUpNext
IExecutionHistoryStep::Result Property

Gets the exit code or other result value for the task.

C++
__property VARIANT * Result;
C#
VARIANT * Result;
Visual Basic
Property Result() As VARIANT *

The value in the Result property depends on the kind of task run by the step:

  • For a ProgramExecutionTask the Result is the numeric exit code (return code) for the process run by the step.
  • For a ScriptExecutionTask the Result is the numeric or string result value set by the script, or Null if the script did not set a result.
  • For other tasks, the Result is meaningless and will be Null

adTempus API Reference version 3.0.0.0, revised 10/30/2008